//数据库连接池

const mysql = require('mysql');

const pool = mysql.createPool({
    host: 'localhost',
    port: '3306',
    user: 'root',
    password: '304304',
    database: 'xz'
});

module.exports = pool;